<!DOCTYPE HTML>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">

<div class="container-div ui-layout-center">
        <div class="col-sm-12 select-table table-striped">
            <table id="bootstrap-table" data-mobile-responsive="true"></table>
        </div>
    </div>
</div>
<div th:include="include :: footer"></div>
<script th:inline="javascript">
    var prefix = ctx + "module/userMoneyAward";
    $(function () {
        var options = {
            url: prefix + "/award",
            modalName: "今日推广收益",
            columns: [{
                checkbox: true
            },
                {
                    field: 'id',
                    title: '主键',
                    visible: false
                },
                {
                    field: 'nickName',
                    title: '昵称'
                },

                {
                    field: 'roomId',
                    title: '房间序号'
                },
                {
                    field: 'name',
                    title: '房间名称'
                },
                {
                    field: 'totalMoney',
                    title: '总收益'
                }
            ]
        };
        $.table.init(options);
    });

</script>
</body>
</html>